//
//  DPMeSettingSwitchCell.swift
//  DoctorEPlus
//
//  Created by 王林波 on 2020/11/14.
//

import UIKit

class BHConversationSettingSwitchCell: UITableViewCell {
    
    var switchChangeValue: ((Bool) -> Void)?
    
    @IBOutlet weak var name_label: UILabel!
    
    
    @IBOutlet weak var switchBtn: UISwitch!
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    
    @IBAction func switchChangeAct(_ sender: UISwitch) {
        
        self.switchChangeValue?(sender.isOn)
    }
    
    
}
